package com.techsoul.module.goods.pojo.param;

import com.techsoul.common.core.pojo.param.BaseSearchParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 分类 查询参数
 * 
 * @author liuen
 * @date 2020-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CategorySearchParam extends BaseSearchParam {

    @ApiModelProperty("PID，父级编号")
    private String pid;

    @ApiModelProperty("祖级ID集合")
    private String ancestorIds;

    @ApiModelProperty("祖级名称集合")
    private String ancestorNames;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("分类全称")
    private String categoryFullName;

    @ApiModelProperty("模板ID")
    private String templateId;

    @ApiModelProperty("是否显示")
    private String isShow;

    @ApiModelProperty("是否导航")
    private String isMenu;

    @ApiModelProperty("商品数量")
    private Long goodsNum;

    @ApiModelProperty("层次级别，根为0")
    private Integer treeLevel;

    @ApiModelProperty("是否为叶子节点")
    private String isLeaf;

    @ApiModelProperty("排序")
    private Integer treeSort;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("分类状态")
    private String status;

}
